package com.ktjy.pojo;

import java.util.Date;
import java.util.List;

public class Sysuser {
    private Integer id;
    private String account;
    private String realName;
    private String password;
    private Integer sex;
    private Date birthday;
    private String phone;
    private String address;
    private String idPicPath;
    private String workPicPath;
    private Integer roleId;
    private Integer createdUserId;
    private Date createdTime;
    private Date updatedUserId;
    private Date updatedTime;
    private String userRoleName;
    private SysRole sysRole;
    private String roleName;
    private String code;

    private List<Address> addressList;



    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }


    public Sysuser() {
    }




    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return account
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置
     * @param account
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 获取
     * @return realName
     */
    public String getRealName() {
        return realName;
    }

    /**
     * 设置
     * @param realName
     */
    public void setRealName(String realName) {
        this.realName = realName;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return sex
     */
    public Integer getSex() {
        return sex;
    }

    /**
     * 设置
     * @param sex
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * 获取
     * @return birthday
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * 设置
     * @param birthday
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return idPicPath
     */
    public String getIdPicPath() {
        return idPicPath;
    }

    /**
     * 设置
     * @param idPicPath
     */
    public void setIdPicPath(String idPicPath) {
        this.idPicPath = idPicPath;
    }

    /**
     * 获取
     * @return workPicPath
     */
    public String getWorkPicPath() {
        return workPicPath;
    }

    /**
     * 设置
     * @param workPicPath
     */
    public void setWorkPicPath(String workPicPath) {
        this.workPicPath = workPicPath;
    }

    /**
     * 获取
     * @return roleId
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * 设置
     * @param roleId
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    /**
     * 获取
     * @return createdUserId
     */
    public Integer getCreatedUserId() {
        return createdUserId;
    }

    /**
     * 设置
     * @param createdUserId
     */
    public void setCreatedUserId(Integer createdUserId) {
        this.createdUserId = createdUserId;
    }

    /**
     * 获取
     * @return createdTime
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * 设置
     * @param createdTime
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * 获取
     * @return updatedUserId
     */
    public Date getUpdatedUserId() {
        return updatedUserId;
    }

    /**
     * 设置
     * @param updatedUserId
     */
    public void setUpdatedUserId(Date updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    /**
     * 获取
     * @return updatedTime
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * 设置
     * @param updatedTime
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String toString() {
        return "Supplier2{id = " + id + ", account = " + account + ", realName = " + realName + ", password = " + password + ", sex = " + sex + ", birthday = " + birthday + ", phone = " + phone + ", address = " + address + ", idPicPath = " + idPicPath + ", workPicPath = " + workPicPath + ", roleId = " + roleId + ", createdUserId = " + createdUserId + ", createdTime = " + createdTime + ", updatedUserId = " + updatedUserId + ", updatedTime = " + updatedTime + "}";
    }

    /**
     * 获取
     * @return userRoleName
     */
    public String getUserRoleName() {
        return userRoleName;
    }

    /**
     * 设置
     * @param userRoleName
     */
    public void setUserRoleName(String userRoleName) {
        this.userRoleName = userRoleName;
    }

    /**
     * 获取
     * @return sysRole
     */
    public SysRole getSysRole() {
        return sysRole;
    }

    /**
     * 设置
     * @param sysRole
     */
    public void setSysRole(SysRole sysRole) {
        this.sysRole = sysRole;
    }


    /**
     * 获取
     * @return addressList
     */
    public List<Address> getAddressList() {
        return addressList;
    }

    /**
     * 设置
     * @param addressList
     */
    public void setAddressList(List<Address> addressList) {
        this.addressList = addressList;
    }
}
